use driver::APP_INFO;
use utils::log;
pub mod driver;
pub mod handler;
pub mod status;

#[derive(Clone, Copy)]
pub enum WeightErr {
    Hx1ReadTimeout,
    Hx2ReadTimeout,
    Store(cfw_kit::store::Error),
}

pub unsafe fn init() {
    driver::init();
    let ret = APP_INFO.lock().load();
    log!("app info:{:?}", ret);
}
